import { normalize, posix, win32 } from 'node:path'

export const toPosixPath = (path: string): string =>
  normalize(path).replaceAll(win32.sep, posix.sep)
